//
//  LHActionSheet.h
//  WXYView
//
//  Created by lehuo on 2017/1/10.
//  Copyright © 2017年 lehuo. All rights reserved.
//

#import <UIKit/UIKit.h>
//按钮顺序index依次从上往下
typedef void(^PopSelectIndex)(NSUInteger index);
@interface LHActionSheet : UIView
/**
 @brief 显示ActionSheet
 *@params  title :标题
 *@params  ohterTitles 选项按钮的标题
 *@params  popSelectIndex 回调
 */
+ (void)showActionSheetWithTitle:(NSString *)title destructiveTitle:(NSString *)destructiveTitle otherTitles:(NSArray <NSString *>*)ohterTitles block:(PopSelectIndex)popSelectIndex;
@end
